package org.eclipse.epsilon.emc.rdbms.core.unitesting.blackbox;

import org.eclipse.epsilon.emc.rdbms.core.imodel.DBReflexiveModel;
import org.eclipse.epsilon.emc.rdbms.core.persistancemechanism.H2Database;
import org.eclipse.epsilon.emc.rdbms.core.persistancemechanism.RelationalDatabase;
import org.eclipse.epsilon.emc.rdbms.core.persistanceobject.PersistanceObject;
import org.junit.Before;


public class JUnit_BlackBox_PersistanceBroker 
{

	RelationalDatabase Connection = new H2Database("jdbc:h2:","..//org.eclipse.epsilon.emc.rdbms//sample_db//h2","epsilon");
	DBReflexiveModel rModel = new DBReflexiveModel();  //Create a new model.
	PersistanceObject PersistanceObject = new PersistanceObject();
	
	@Before 
	public void PersistanceObject_pre_test ()
	{
	Connection.db_setup("C:\\config.sql");	
	rModel.setName("epsilon"); //Set the Model Name
	}
	
	
	

}
